<?php

require dirname(__FILE__) . "/../classes/ConnectionFactory.class.php";
require dirname(__FILE__) . "/../classes/FaresDAO.class.php";
require dirname(__FILE__) . "/../classes/FaresTo.class.php";


$conn = new ConnectionFactory();
$db = $conn->getConnection();
$fares= new FaresTo();

$dao = new FaresDAO($db);
$fares = $dao->getList();


?>
